#!/usr/bin/env python

import os

topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl')

bld.SAMBA_PIDL_LIST('PIDL',
                    '''messaging.idl libnetapi.idl notify.idl
                       perfcount.idl secrets.idl libnet_join.idl server_id.idl''',
                    options='--includedir=%s --header --ndr-parser' % topinclude,
                    output_dir='../gen_ndr')

bld.SAMBA_PIDL_LIST('PIDL',
                    'wbint.idl',
                    options='--includedir=%s --header --ndr-parser --samba3-ndr-server --client' % topinclude,
                    output_dir='../gen_ndr')
